home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / utilities / time / dclock16.lha / DClock16 / src / Draw.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-05  |  643 b   |  22 lines

  1. struct Time
  2. {
  3.    int hour1, hour2;
  4.    int min1, min2;
  5.    int sec1, sec2;
  6. };
  7.  
  8. extern int realtime;
  9.  
  10. void DrawTime(struct Window *win, struct AppPrefs *prefs);
  11. struct tm *GetTime( struct Time *myTime, struct AppPrefs *prefs );
  12. void RedrawTime(struct Window *win, struct AppPrefs *prefs);
  13. void CheckAlarm(struct AppPrefs *prefs, struct Time *myTime);
  14. void DrawAlarm(int color);
  15. void EraseAlarm(int color);
  16. void DrawTimer(int color);
  17. void EraseTimer(int color);
  18. BOOL CheckTimer(struct AppPrefs *prefs, struct Time *myTime);
  19. void TurnTimerOff(struct AppPrefs *prefs);
  20. void ShowAlarm(struct AppPrefs *prefs);
  21. void ShowTimer(struct AppPrefs *prefs);
  22.